class Animal:
    #类属性
    compose = ['move', 'eat', 'sleep']
    #类方法
    def sleep(self):
        print("you are sleeping")
    def eat(self):
        print('you are eating')
    def __init__(self):
        print('init method start ')
cat = Animal()
cat.eat()
dog = Animal()
dog.sleep()

print("cat:" + str(cat.compose))
print("dog:" + str(dog.compose))


